home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / bin / plog < prev    next >
Text File  |  2008-10-15  |  146b  |  8 lines

  1. #!/bin/sh
  2.  
  3. if [ -s /var/log/ppp.log ]; then
  4.   exec tail "$@" /var/log/ppp.log
  5. else
  6.   exec tail "$@" /var/log/syslog | grep ' \(pppd\|chat\)\['
  7. fi
  8.